package com.ndky.week3.package2;

import com.ndky.week3.package5.MyClass2;

/**
 * author: 核桃
 * 包_自定义
 * date: 2023/9/28
 **/
public class Main {
    public static void main(String[] args) {
        MyClass3 myObj = new MyClass3(5);
        System.out.println(myObj.x);

        MyClass2 myObj2 = new MyClass2(15);
        System.out.println(myObj2.x);

    }
}


//输出 构造MyClass3
//输出 5
//输出 包com.ndky.week3.package4,构造MyClass
//输出 25